var ApiFactory = require('lib/ApiFactory')
  , format = require('lib/util/format')

module.exports = ApiFactory({
  url:function(params){
    return BlueWare.urlPrefix+'/app/'+params.appId+'/'+params.urlName+'.json'
  },
  optionParams:['urlName','appId'],
  params:{
    appId:{
      defaultValue:BlueWare.appId
    },
    urlName:{},
    id:{}
  }
})
